﻿using LimaLims.Application.Service.Base.Dto;
using LimaLims.Core;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Application.Service.Equipment.Dto
{
    public class AddEquipmentFactoryInput : BaseDto
    {
        /// <summary>
        /// 厂家名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string ContactName { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 联系地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }

    public class EditEquipmentFactoryInput : AddEquipmentFactoryInput
    {

    }

    public class EquipmentFactoryOutput : BaseDto
    {
        /// <summary>
        /// 厂家名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string ContactName { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 联系地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }

    /// <summary>
    /// 设备仪器分页
    /// </summary>
    public class EquipmentFactoryPageInput : PageInputBase
    {
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone { get; set; }
    }
}
